package com.toyota.toyotaownerspoc.barcode;

import com.toyota.toyotaownerspoc.R;
import com.toyota.toyotaownerspoc.util.SystemUiHider;
import android.app.Activity;
import com.toyota.toyotaownerspoc.service.*;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

/**
 * An example full-screen activity that shows and hides the system UI (i.e.
 * status bar and navigation/system bar) with user interaction.
 * 
 * @see SystemUiHider
 */
public class WhereDoIFindMyVin extends Activity {
	
private ImageView xButtonImageView = null; 
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.activity_where_do_ifind_my_vin);

	
		
		 xButtonImageView = (ImageView) findViewById(R.id.imageView1);
			
			if ( xButtonImageView!=null)
			{
				 xButtonImageView.setOnClickListener(new View.OnClickListener() {

		
				  @Override
				  public void onClick(View view) {
					  Intent i = new Intent(view.getContext(), Service.class);
						startActivity(i);
				  }

				});

		
		
	}

	
		
}
}
